\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit}{
\section{com.dstu.autofit.AutoFit Class Reference}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit}\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
}


The main class in charge of generating test classes and wiki tables.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a3360c0456b837aa0cf7214829b2d287e}{AutoFit} ()  throws FileNotFoundException 
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_acacc349d69f94d25e690f72203a95ddb}{AutoFit} (String classPath)  throws FileNotFoundException 
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
String \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_abd4de74ed5eb53e3510a6fb6557d14f1}{capitalizeFirst} (String inText)
\begin{DoxyCompactList}\small\item\em Capitalizes the first letter of the given string. \end{DoxyCompactList}\item 
void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a33905bb114d735e6cac5946926178a50}{generateFiles} ()
\begin{DoxyCompactList}\small\item\em Generates the testing file and the wiki table at the default paths. \end{DoxyCompactList}\item 
void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ac7aa7951f8f95ce5f378c292fe327028}{generateFiles} (String sourcePath, String wikiPath)
\begin{DoxyCompactList}\small\item\em Generates the testing file and the wiki table. \end{DoxyCompactList}\item 
void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a544a063a28bc5660af5e7f5857d293ad}{generateSourceFile} ()
\begin{DoxyCompactList}\small\item\em Generates the testing file at the default location. \end{DoxyCompactList}\item 
void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_acccc63536756f124691ebf818adf2bce}{generateSourceFile} (String sourcePath)
\begin{DoxyCompactList}\small\item\em Generates the testing file. \end{DoxyCompactList}\item 
void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a192d476238463608eb6aafcbc9a50c66}{generateWikiFile} ()
\begin{DoxyCompactList}\small\item\em Generates the wiki testing tables into the default file. \end{DoxyCompactList}\item 
void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a25f020891cd99caeb774a7c2fd4270b5}{generateWikiFile} (String wikiPath)
\begin{DoxyCompactList}\small\item\em Generates the wiki testing tables into the given file. \end{DoxyCompactList}\item 
String \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ae064f8b1118149cd7bceec9ad1f83397}{getDummyArgs} (Class$<$?$>$\mbox{[}$\,$\mbox{]} params, String prefix)
\begin{DoxyCompactList}\small\item\em Formats a list of dummy variables, named by class with a prefix, to pass into a function. \end{DoxyCompactList}\item 
String \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a55ea465379c35edcab6c8c8846acc82c}{getDummyParams} (Class$<$?$>$\mbox{[}$\,$\mbox{]} params, String prefix)
\begin{DoxyCompactList}\small\item\em Generates declarations for dummy versions of variables. \end{DoxyCompactList}\item 
void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a7c6b4f165e29ccd50d81b20a40e1677e}{loadClass} (String classname)
\begin{DoxyCompactList}\small\item\em Load the named class, and set it as the class that \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit}{AutoFit} will work on. \end{DoxyCompactList}\item 
String \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a5b473deaf07f7d1b1e70e06c03173763}{makeFitClass} (ArrayList$<$ Method $>$ methods, ArrayList$<$ Field $>$ fields)  throws BlankPropertiesException 
\begin{DoxyCompactList}\small\item\em Generates the testing code. This is one of the two workhorse methods. \end{DoxyCompactList}\item 
String \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ac3875fc2597e6a42776f44d138812b1b}{makeWikiPage} (ArrayList$<$ Method $>$ methods, ArrayList$<$ Field $>$ fields)  throws BlankPropertiesException 
\begin{DoxyCompactList}\small\item\em Generates the wiki testing tables. This is one of the two workhorse methods. \end{DoxyCompactList}\item 
void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a2e906d21b345a74ced42272b7319a1cc}{setFitClassPath} ()
\begin{DoxyCompactList}\small\item\em Sets the testing class file to be written out to the working directory. \end{DoxyCompactList}\item 
void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a7feb6f0fccb25c2ad4cffb42e63b5437}{setFitClassPath} (String dir)
\begin{DoxyCompactList}\small\item\em Set the path that the testing class file will be written out to. \end{DoxyCompactList}\item 
void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ae1fd2652bc4911bb05ae77fd8abc1e7d}{setWikiPath} ()
\begin{DoxyCompactList}\small\item\em Sets the wiki table file to be written out to the working directory. \end{DoxyCompactList}\item 
void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_adad1586b17dba7cb5fd04eebd4c63270}{setWikiPath} (String dir)
\begin{DoxyCompactList}\small\item\em Set the path that the wiki table file will be written out to. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a634aac97493402eb172541a1467b2012}{main} (String\mbox{[}$\,$\mbox{]} args)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The main class in charge of generating test classes and wiki tables. 

\begin{DoxyAuthor}{Author}
dstu
\end{DoxyAuthor}
This class loads a given class and uses the reflection API to read its methods and data fields. It then uses the templates in the /bin/resources folder to put together the test class source code and the testing wiki table for FitNesse. 

Definition at line 31 of file AutoFit.java.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a3360c0456b837aa0cf7214829b2d287e}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!AutoFit@{AutoFit}}
\index{AutoFit@{AutoFit}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{AutoFit}]{\setlength{\rightskip}{0pt plus 5cm}com.dstu.autofit.AutoFit.AutoFit (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)  throws FileNotFoundException }}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a3360c0456b837aa0cf7214829b2d287e}


Default constructor. 

This constructor doesn't load a class, but doesn't fail either. If you already know the class you want, it is better to use \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_acacc349d69f94d25e690f72203a95ddb}{AutoFit(String)} instead. If you use this constructor, make sure to load a class later with LoadClass(String).


\begin{DoxyExceptions}{Exceptions}
{\em FileNotFoundException} & \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a7c6b4f165e29ccd50d81b20a40e1677e}{loadClass(String)} 

\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_acacc349d69f94d25e690f72203a95ddb}{AutoFit(String)} 
\end{DoxySeeAlso}


Definition at line 141 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_acacc349d69f94d25e690f72203a95ddb}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!AutoFit@{AutoFit}}
\index{AutoFit@{AutoFit}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{AutoFit}]{\setlength{\rightskip}{0pt plus 5cm}com.dstu.autofit.AutoFit.AutoFit (
\begin{DoxyParamCaption}
\item[{String}]{classPath}
\end{DoxyParamCaption}
)  throws FileNotFoundException }}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_acacc349d69f94d25e690f72203a95ddb}


Constructor. 

Loads the given class and does some other setup.


\begin{DoxyParams}{Parameters}
{\em classPath} & The full path to the class file to load. \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em FileNotFoundException} & \\
\hline
\end{DoxyExceptions}


Add the path to Java's classpath

Load the class file

Find the template files 



Definition at line 155 of file AutoFit.java.



\subsection{Member Function Documentation}
\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_abd4de74ed5eb53e3510a6fb6557d14f1}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!capitalizeFirst@{capitalizeFirst}}
\index{capitalizeFirst@{capitalizeFirst}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{capitalizeFirst}]{\setlength{\rightskip}{0pt plus 5cm}String com.dstu.autofit.AutoFit.capitalizeFirst (
\begin{DoxyParamCaption}
\item[{String}]{inText}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_abd4de74ed5eb53e3510a6fb6557d14f1}


Capitalizes the first letter of the given string. 


\begin{DoxyParams}{Parameters}
{\em inText} & The string to work on. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The string with the first letter capitalized. 
\end{DoxyReturn}


Definition at line 239 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ac7aa7951f8f95ce5f378c292fe327028}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!generateFiles@{generateFiles}}
\index{generateFiles@{generateFiles}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{generateFiles}]{\setlength{\rightskip}{0pt plus 5cm}void com.dstu.autofit.AutoFit.generateFiles (
\begin{DoxyParamCaption}
\item[{String}]{sourcePath, }
\item[{String}]{wikiPath}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ac7aa7951f8f95ce5f378c292fe327028}


Generates the testing file and the wiki table. 


\begin{DoxyParams}{Parameters}
{\em sourcePath} & Where to place the testing code \\
\hline
{\em wikiPath} & Where to place the wiki code\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_acccc63536756f124691ebf818adf2bce}{generateSourceFile(String)} 

\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a25f020891cd99caeb774a7c2fd4270b5}{generateWikiFile(String)} 
\end{DoxySeeAlso}


Definition at line 263 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a33905bb114d735e6cac5946926178a50}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!generateFiles@{generateFiles}}
\index{generateFiles@{generateFiles}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{generateFiles}]{\setlength{\rightskip}{0pt plus 5cm}void com.dstu.autofit.AutoFit.generateFiles (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a33905bb114d735e6cac5946926178a50}


Generates the testing file and the wiki table at the default paths. 

\begin{DoxySeeAlso}{See also}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ac7aa7951f8f95ce5f378c292fe327028}{generateFiles(String, String)} 
\end{DoxySeeAlso}


Definition at line 248 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a544a063a28bc5660af5e7f5857d293ad}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!generateSourceFile@{generateSourceFile}}
\index{generateSourceFile@{generateSourceFile}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{generateSourceFile}]{\setlength{\rightskip}{0pt plus 5cm}void com.dstu.autofit.AutoFit.generateSourceFile (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a544a063a28bc5660af5e7f5857d293ad}


Generates the testing file at the default location. 

\begin{DoxySeeAlso}{See also}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_acccc63536756f124691ebf818adf2bce}{generateSourceFile(String)} 
\end{DoxySeeAlso}


Definition at line 274 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_acccc63536756f124691ebf818adf2bce}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!generateSourceFile@{generateSourceFile}}
\index{generateSourceFile@{generateSourceFile}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{generateSourceFile}]{\setlength{\rightskip}{0pt plus 5cm}void com.dstu.autofit.AutoFit.generateSourceFile (
\begin{DoxyParamCaption}
\item[{String}]{sourcePath}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_acccc63536756f124691ebf818adf2bce}


Generates the testing file. 

Calls the \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a5b473deaf07f7d1b1e70e06c03173763}{makeFitClass(ArrayList$<$Method$>$, ArrayList$<$Field$>$)} to generate the testing code, and writes it out to the given file.


\begin{DoxyParams}{Parameters}
{\em sourcePath} & The path to write out the testing file.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a5b473deaf07f7d1b1e70e06c03173763}{makeFitClass(ArrayList$<$Method$>$, ArrayList$<$Field$>$)} 
\end{DoxySeeAlso}


Definition at line 290 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a25f020891cd99caeb774a7c2fd4270b5}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!generateWikiFile@{generateWikiFile}}
\index{generateWikiFile@{generateWikiFile}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{generateWikiFile}]{\setlength{\rightskip}{0pt plus 5cm}void com.dstu.autofit.AutoFit.generateWikiFile (
\begin{DoxyParamCaption}
\item[{String}]{wikiPath}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a25f020891cd99caeb774a7c2fd4270b5}


Generates the wiki testing tables into the given file. 

Calls the \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ac3875fc2597e6a42776f44d138812b1b}{makeWikiPage(ArrayList$<$Method$>$, ArrayList$<$Field$>$)} method to create the FitNesse testing tables for our class, and writes out to the given file.


\begin{DoxyParams}{Parameters}
{\em wikiPath} & The path to write out the tables to. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ac3875fc2597e6a42776f44d138812b1b}{makeWikiPage(ArrayList$<$Method$>$, ArrayList$<$Field$>$)} 
\end{DoxySeeAlso}


Definition at line 341 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a192d476238463608eb6aafcbc9a50c66}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!generateWikiFile@{generateWikiFile}}
\index{generateWikiFile@{generateWikiFile}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{generateWikiFile}]{\setlength{\rightskip}{0pt plus 5cm}void com.dstu.autofit.AutoFit.generateWikiFile (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a192d476238463608eb6aafcbc9a50c66}


Generates the wiki testing tables into the default file. 

\begin{DoxySeeAlso}{See also}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a25f020891cd99caeb774a7c2fd4270b5}{generateWikiFile(String)} 
\end{DoxySeeAlso}


Definition at line 326 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ae064f8b1118149cd7bceec9ad1f83397}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!getDummyArgs@{getDummyArgs}}
\index{getDummyArgs@{getDummyArgs}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{getDummyArgs}]{\setlength{\rightskip}{0pt plus 5cm}String com.dstu.autofit.AutoFit.getDummyArgs (
\begin{DoxyParamCaption}
\item[{Class$<$?$>$\mbox{[}$\,$\mbox{]}}]{params, }
\item[{String}]{prefix}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ae064f8b1118149cd7bceec9ad1f83397}


Formats a list of dummy variables, named by class with a prefix, to pass into a function. 


\begin{DoxyParams}{Parameters}
{\em params} & A Class\mbox{[}\mbox{]} array of the required types. \\
\hline
{\em prefix} & The dummy variable prefix. Sould be something clear, like \char`\"{}dummy\char`\"{} or \char`\"{}fake\char`\"{}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The dummy variable names, joined by commas.
\end{DoxyReturn}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a5b473deaf07f7d1b1e70e06c03173763}{makeFitClass(ArrayList$<$Method$>$, ArrayList$<$Field$>$)} 

Definition at line 379 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a55ea465379c35edcab6c8c8846acc82c}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!getDummyParams@{getDummyParams}}
\index{getDummyParams@{getDummyParams}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{getDummyParams}]{\setlength{\rightskip}{0pt plus 5cm}String com.dstu.autofit.AutoFit.getDummyParams (
\begin{DoxyParamCaption}
\item[{Class$<$?$>$\mbox{[}$\,$\mbox{]}}]{params, }
\item[{String}]{prefix}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a55ea465379c35edcab6c8c8846acc82c}


Generates declarations for dummy versions of variables. 

This method is used for setting up testing method declarations.


\begin{DoxyParams}{Parameters}
{\em params} & A Class\mbox{[}\mbox{]} array of the required types. \\
\hline
{\em prefix} & The dummy variable prefix. Sould be something clear, like \char`\"{}dummy\char`\"{} or \char`\"{}fake\char`\"{}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The dummy variable declarations, joined by commas.
\end{DoxyReturn}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a5b473deaf07f7d1b1e70e06c03173763}{makeFitClass(ArrayList$<$Method$>$, ArrayList$<$Field$>$)} 

Definition at line 409 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a7c6b4f165e29ccd50d81b20a40e1677e}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!loadClass@{loadClass}}
\index{loadClass@{loadClass}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{loadClass}]{\setlength{\rightskip}{0pt plus 5cm}void com.dstu.autofit.AutoFit.loadClass (
\begin{DoxyParamCaption}
\item[{String}]{classname}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a7c6b4f165e29ccd50d81b20a40e1677e}


Load the named class, and set it as the class that \hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit}{AutoFit} will work on. 


\begin{DoxyParams}{Parameters}
{\em classname} & The fully qualified name of the class to load \\
\hline
\end{DoxyParams}


Definition at line 491 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a634aac97493402eb172541a1467b2012}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!main@{main}}
\index{main@{main}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}static void com.dstu.autofit.AutoFit.main (
\begin{DoxyParamCaption}
\item[{String\mbox{[}$\,$\mbox{]}}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a634aac97493402eb172541a1467b2012}
The main method. More info here later. 
\begin{DoxyParams}{Parameters}
{\em args} & \\
\hline
\end{DoxyParams}


Definition at line 38 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a5b473deaf07f7d1b1e70e06c03173763}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!makeFitClass@{makeFitClass}}
\index{makeFitClass@{makeFitClass}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{makeFitClass}]{\setlength{\rightskip}{0pt plus 5cm}String com.dstu.autofit.AutoFit.makeFitClass (
\begin{DoxyParamCaption}
\item[{ArrayList$<$ Method $>$}]{methods, }
\item[{ArrayList$<$ Field $>$}]{fields}
\end{DoxyParamCaption}
)  throws {\bf BlankPropertiesException} }}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a5b473deaf07f7d1b1e70e06c03173763}


Generates the testing code. This is one of the two workhorse methods. 

This method does the work of generating the FitNesse testing code for our class by reading all of its methods and fields and filling these data into various templates. The templates are then assembled into a master template, which becomes the source file for our testing class.


\begin{DoxyParams}{Parameters}
{\em methods} & The methods to generate testing code for \\
\hline
{\em fields} & The fields to generate testing code for \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The testing code 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em \hyperlink{classcom_1_1dstu_1_1autofit_1_1_blank_properties_exception}{BlankPropertiesException}} & \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ac3875fc2597e6a42776f44d138812b1b}{makeWikiPage(ArrayList$<$Method$>$, ArrayList$<$Field$>$)} 
\end{DoxySeeAlso}


Definition at line 526 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ac3875fc2597e6a42776f44d138812b1b}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!makeWikiPage@{makeWikiPage}}
\index{makeWikiPage@{makeWikiPage}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{makeWikiPage}]{\setlength{\rightskip}{0pt plus 5cm}String com.dstu.autofit.AutoFit.makeWikiPage (
\begin{DoxyParamCaption}
\item[{ArrayList$<$ Method $>$}]{methods, }
\item[{ArrayList$<$ Field $>$}]{fields}
\end{DoxyParamCaption}
)  throws {\bf BlankPropertiesException} }}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ac3875fc2597e6a42776f44d138812b1b}


Generates the wiki testing tables. This is one of the two workhorse methods. 

This method does the work of generating the FitNesse wiki tables for our class by reading all of its methods and fields and filling these data into a template.


\begin{DoxyParams}{Parameters}
{\em methods} & The methods to generate testing code for \\
\hline
{\em fields} & The fields to generate testing code for \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The testing code 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em \hyperlink{classcom_1_1dstu_1_1autofit_1_1_blank_properties_exception}{BlankPropertiesException}} & \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a5b473deaf07f7d1b1e70e06c03173763}{makeFitClass(ArrayList$<$Method$>$, ArrayList$<$Field$>$)} 
\end{DoxySeeAlso}


Definition at line 648 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a7feb6f0fccb25c2ad4cffb42e63b5437}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!setFitClassPath@{setFitClassPath}}
\index{setFitClassPath@{setFitClassPath}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{setFitClassPath}]{\setlength{\rightskip}{0pt plus 5cm}void com.dstu.autofit.AutoFit.setFitClassPath (
\begin{DoxyParamCaption}
\item[{String}]{dir}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a7feb6f0fccb25c2ad4cffb42e63b5437}


Set the path that the testing class file will be written out to. 

The file name is the simple name of the loaded class, appended with \char`\"{}FitTest.java\char`\"{}.


\begin{DoxyParams}{Parameters}
{\em dir} & the directory to write to. \\
\hline
\end{DoxyParams}


Definition at line 730 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a2e906d21b345a74ced42272b7319a1cc}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!setFitClassPath@{setFitClassPath}}
\index{setFitClassPath@{setFitClassPath}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{setFitClassPath}]{\setlength{\rightskip}{0pt plus 5cm}void com.dstu.autofit.AutoFit.setFitClassPath (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a2e906d21b345a74ced42272b7319a1cc}


Sets the testing class file to be written out to the working directory. 

\begin{DoxySeeAlso}{See also}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_a7feb6f0fccb25c2ad4cffb42e63b5437}{setFitClassPath(String)} 
\end{DoxySeeAlso}


Definition at line 716 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ae1fd2652bc4911bb05ae77fd8abc1e7d}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!setWikiPath@{setWikiPath}}
\index{setWikiPath@{setWikiPath}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{setWikiPath}]{\setlength{\rightskip}{0pt plus 5cm}void com.dstu.autofit.AutoFit.setWikiPath (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_ae1fd2652bc4911bb05ae77fd8abc1e7d}


Sets the wiki table file to be written out to the working directory. 

\begin{DoxySeeAlso}{See also}
\hyperlink{classcom_1_1dstu_1_1autofit_1_1_auto_fit_adad1586b17dba7cb5fd04eebd4c63270}{setWikiPath(String)} 
\end{DoxySeeAlso}


Definition at line 740 of file AutoFit.java.

\hypertarget{classcom_1_1dstu_1_1autofit_1_1_auto_fit_adad1586b17dba7cb5fd04eebd4c63270}{
\index{com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}!setWikiPath@{setWikiPath}}
\index{setWikiPath@{setWikiPath}!com::dstu::autofit::AutoFit@{com::dstu::autofit::AutoFit}}
\subsubsection[{setWikiPath}]{\setlength{\rightskip}{0pt plus 5cm}void com.dstu.autofit.AutoFit.setWikiPath (
\begin{DoxyParamCaption}
\item[{String}]{dir}
\end{DoxyParamCaption}
)}}
\label{classcom_1_1dstu_1_1autofit_1_1_auto_fit_adad1586b17dba7cb5fd04eebd4c63270}


Set the path that the wiki table file will be written out to. 

The file name is the simple name of the loaded class, appended with \char`\"{}WikiTests.txt\char`\"{}.


\begin{DoxyParams}{Parameters}
{\em dir} & the directory to write to. \\
\hline
\end{DoxyParams}


Definition at line 754 of file AutoFit.java.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
C:/workspace/AutoFit/src/com/dstu/autofit/\hyperlink{_auto_fit_8java}{AutoFit.java}\end{DoxyCompactItemize}
